package com.lanhai.model;

import java.awt.geom.GeneralPath;

/**
 * 自由区域，用于释放机台和泊位
 * @author liangmin
 *
 */
public class FreeArea {
	public int id;//交管区ID
	public String name;//交管区名称
	public Double[] mapXArr;//顶点的X座标数组
	public Double[] mapYArr;//顶点的Y座标数组
	public GeneralPath shape;
	public String ipAddress;//机器IP地址
	   
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Double[] getMapXArr() {
		return mapXArr;
	}
	public void setMapXArr(Double[] mapXArr) {
		this.mapXArr = mapXArr;
	}
	public Double[] getMapYArr() {
		return mapYArr;
	}
	public void setMapYArr(Double[] mapYArr) {
		this.mapYArr = mapYArr;
	}
	public GeneralPath getShape() {
		return shape;
	}
	public void setShape(GeneralPath shape) {
		this.shape = shape;
	}
	public String getIpAddress() {
		return ipAddress;
	}
	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}
	
	@Override
	public String toString(){
		return "No:" + id + ",名称:" + name;
	}
}
